package com.crh.bean;

import java.io.Serializable;

/**
 * 商品类别实体类
 *
 * @author Chrui
 * @date 2018/08/16__10:58
 */
public class GoodsClassify implements Serializable {
    /**
     * 类别id
     */
    private int classifyId;
    /**
     * 上级类别
     */
    private int fatherClassifyId;
    /**
     * 类别名称
     */
    private String classifyName;

    public GoodsClassify() {
    }

    @Override
    public String toString() {
        return "GoodsClassify{" +
                "classifyId=" + classifyId +
                ", fatherClassifyId=" + fatherClassifyId +
                ", classifyName='" + classifyName + '\'' +
                '}';
    }

    public GoodsClassify(int classifyId, int fatherClassifyId, String classifyName) {
        this.classifyId = classifyId;
        this.fatherClassifyId = fatherClassifyId;
        this.classifyName = classifyName;
    }

    public int getClassifyId() {
        return classifyId;
    }

    public void setClassifyId(int classifyId) {
        this.classifyId = classifyId;
    }

    public int getFatherClassifyId() {
        return fatherClassifyId;
    }

    public void setFatherClassifyId(int fatherClassifyId) {
        this.fatherClassifyId = fatherClassifyId;
    }

    public String getClassifyName() {
        return classifyName;
    }

    public void setClassifyName(String classifyName) {
        this.classifyName = classifyName;
    }
}
